package com.example.light.web.personal.controller;

import com.example.light.web.personal.service.AddressService;
import com.example.light.web.system.dao.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class AddressListController {
    @Autowired
    private AddressService addressService;

    @RequestMapping("toAddressList")
    String toAddressList(Model model){
        addressService.addressList(model);
        return "personal/address_list";
    }
}
